package com.damuzee.family.user.action;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by karkaw on 14-2-17.
 */

@Controller

public class UserAction {

    @RequestMapping(value = "/login.do", method = RequestMethod.GET)
    public String login(){
        return "/login";
    }

    @RequestMapping(value = "/register.do", method = RequestMethod.GET)
    public String register(){
        return "/register";
    }
}
